//
//  AppDelegate.h
//  Address-book📞
//
//  Created by Mars_ZXB on 16/8/6.
//  Copyright © 2016年 BAT3. All rights reserved.
//

#import "AlertOfWarn.h"

@interface AlertOfWarn ()

@end

@implementation AlertOfWarn

- (void)viewDidLoad {
    [super viewDidLoad];
    UIAlertAction *action1 = [UIAlertAction actionWithTitle:@"确定" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
        if ([self.delegate respondsToSelector:@selector(handleClickButton:)]) {
            [self.delegate handleClickButton:self];
        }
    }];
    [self addAction:action1];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
